package main

import (
	"fmt"
	"gOrmTest/InitGorm"
	"gOrmTest/Models"
)

// 原生sql

func main() {

	var user []Models.User
	InitGorm.Db.Raw("select id,name,age from gva_users where name = ?", "").Scan(&user)
	fmt.Println(user)

}
